package cn.dly.login.service;

import cn.dly.login.entity.PointsDetails;
import cn.dly.login.entity.User;
import cn.dly.login.vo.InfoVo;
import cn.dly.login.vo.LoginVo;
import cn.dly.login.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Hrd
 * @since 2021-07-05
 */
public interface UserService extends IService<User> {

    String login(LoginVo loginVo);

    void register(RegisterVo registerVo);

    LoginVo getLoginVo(String username);

    User selectByUsername(String username);

    Integer getyzu(String username);

    Integer getyzm(String mobile);

    Integer modify(String password,String username);

    InfoVo getInfoVo(String username);

    Integer modify(InfoVo infoVo,String username);

    Integer upload(String url,String username);

    List<PointsDetails> details(String username);

    Boolean yzmm(String username,String password);

    Integer modp(String username,String password);

    String geturl(String username);

    List<InfoVo> getall();

    Integer modall(InfoVo infoVo);
}
